package com.lijian.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lijian.dao.TestTbDao;
import com.lijian.pojo.TestTb; 

/**
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2017</p>
 * @author lijian
 * @date 2017年6月27日下午9:20:29
 * @version 1.0
 */
@Service

public class TestTbServiceImpl implements TestTbService{

	@Autowired
	private TestTbDao testTbDao;
	@Transactional
	@Override
	public void insertTestTb(TestTb testTb) {
		testTbDao.insertTestTb(testTb);
		
		throw new RuntimeException();
	}

	
}
